﻿// =================================================================== 
// 项目说明
//====================================================================
// 文件： ERP_OperationLog.cs
// 创建时间：2016/11/30
// 负责人：
// ===================================================================
using System;

//注意：该文件自动生成，一般请不要手工修改。

namespace CRMMis.Model
{
	/// <summary>
	///操作日志表(ERP_OperationLog)数据实体
	/// </summary>
	[Serializable]
	public class ERP_OperationLog
	{
		#region 变量定义
		
		///<summary>
		///记录号
		///</summary>
		private int _logId;
		
		///<summary>
		///相关表
		///</summary>
		private string _tableName = String.Empty;
		
		///<summary>
		///相关操作
		///</summary>
		private string _action = String.Empty;
		
		///<summary>
		///操作员
		///</summary>
		private string _actionUser = String.Empty;
		
		///<summary>
		///操作日期
		///</summary>
		private string _actionDate = String.Empty;
		
		///<summary>
		///记录ID
		///</summary>
		private int _recordID;
		
		///<summary>
		///相关信息
		///</summary>
		private string _actionRecord = String.Empty;
		#endregion
		
		#region 构造函数

		///<summary>
		///操作日志表的构造函数，默认值通过数据库的default取得
		///</summary>
		public ERP_OperationLog()
		{
 
		}
		///<summary>
		///操作日志表
		///</summary>
		public ERP_OperationLog
		(
			int logId,
			string tableName,
			string action,
			string actionUser,
			string actionDate,
			int recordID,
			string actionRecord
		)
		{
			_logId        = logId;
			_tableName    = tableName;
			_action       = action;
			_actionUser   = actionUser;
			_actionDate   = actionDate;
			_recordID     = recordID;
			_actionRecord = actionRecord;
			
		}
		
		

		#endregion
		
		#region 公共属性

		
		
		///<summary>
		///记录号
		///</summary>
		public int LogId
		{
			get {return _logId;}
			set {_logId = value;}
		}

		
		///<summary>
		///相关表
		///</summary>
		public string TableName
		{
			get {return _tableName;}
			set {_tableName = value;}
		}

		
		///<summary>
		///相关操作
		///</summary>
		public string Action
		{
			get {return _action;}
			set {_action = value;}
		}

		
		///<summary>
		///操作员
		///</summary>
		public string ActionUser
		{
			get {return _actionUser;}
			set {_actionUser = value;}
		}

		
		///<summary>
		///操作日期
		///</summary>
		public string ActionDate
		{
			get {return _actionDate;}
			set {_actionDate = value;}
		}

		
		///<summary>
		///记录ID
		///</summary>
		public int RecordID
		{
			get {return _recordID;}
			set {_recordID = value;}
		}

		
		///<summary>
		///相关信息
		///</summary>
		public string ActionRecord
		{
			get {return _actionRecord;}
			set {_actionRecord = value;}
		}
	
		#endregion
		
	}
}